﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SQLDeploy.Data.Deployment.Steps.Tasks
{
    public class SQLScriptTask : _FileBasedTask
    {

        public SQLScriptTask(Step parentStep) : base(parentStep) { }

        public SQLScriptTask(Step parentStep, string name, string connectionName) :
            base(parentStep, name, connectionName) { }

        public SQLScriptTask(Step parentStep, string name, string connectionName, string ScriptFile) :
            base(parentStep, name, connectionName, ScriptFile){}

        public string Script
        {
            get { return base.fileName; }
            set
            {
                fileName = value;
                OnPropertyChanged("Script");
            }
        }
    
    }
}
